import App from './App'

// uview
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

// 工具方法
import util from 'utils/util.js'
Vue.prototype.util = util



// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
require('./config/request')(app)

app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
